package com.qf.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.blog.entity.Letter;
import com.qf.blog.vo.LetterVo;

import java.util.List;


public interface ILetterService extends IService<Letter> {
    List<LetterVo> queryById(String id);

    List<LetterVo> queryByUserId(Integer id);

    List<LetterVo> updateStatus(Integer id);

    void add(String toName, String content);
}
